package com.meilai.project.mapper.finance.contractManage;

import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.meilai.project.vo.finance.contractManage.ContractBillSaleGroupVO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.time.LocalDate;
import java.util.List;

@Mapper
public interface FinancialSummaryMapper {


    List<ContractBillSaleGroupVO> listByIds(@Param("ids") List<Long> ids);

    List<ContractBillSaleGroupVO> list(@Param("page") Page<ContractBillSaleGroupVO> page,
                                       @Param("customerId") Long customerId,
                                       @Param("contractNum") String contractNum,
                                       @Param("contractBeginDateStart") LocalDate contractBeginDateStart,
                                       @Param("contractBeginDateEnd") LocalDate contractBeginDateEnd,
                                       @Param("contractEndDateStart") LocalDate contractEndDateStart,
                                       @Param("contractEndDateEnd") LocalDate contractEndDateEnd);

    List<ContractBillSaleGroupVO> exportList(@Param("customerId") Long customerId,
                                       @Param("contractNum") String contractNum,
                                       @Param("contractBeginDateStart") LocalDate contractBeginDateStart,
                                       @Param("contractBeginDateEnd") LocalDate contractBeginDateEnd,
                                       @Param("contractEndDateStart") LocalDate contractEndDateStart,
                                       @Param("contractEndDateEnd") LocalDate contractEndDateEnd);
//    List<ContractBillSaleGroupVO> listByIds2(@Param("ids") List<Long> ids);
}
